﻿using AutoMapper;
using FinancialManagement.Controllers;
using FinancialManagement.Domain.Dto.SaleContract;
using FinancialManagement.Domain.Model;

namespace FinancialManagement.Dtos
{
    public class AreaProFile: Profile
    {
        public AreaProFile()
        {
            //销售合同添加
            CreateMap<SaleContract, SaleContractAddDto>().ReverseMap();
            //销售合同显示
            CreateMap<SaleContract, SaleContractShowDto>().ReverseMap();
        }

    }
}
